<template>
  <div class="dashboard-container">
    欢迎
  </div></template>
<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  },
  mounted() {
    this.$http.get('/api/users/add').then(res => {
      console.log('this.panels', res)
    })
  }
}</script>
<style lang="scss" scoped>
  .dashboard {
    &-container {
      margin: 30px;
    }
    &-text {
      font-size: 30px;
      line-height: 46px;
    }
  }</style>

